from django.db import models
from .user import User

class Answer(models.Model):
    class Meta():
        db_table = "answers"

    text  = models.CharField(max_length=200)
    user = models.ForeignKey(User)

    def __str__(self):
        return self.text

